package me.zhengjie.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;


/**
 * "MES中间表"
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("iws_mes_nest")
public class MaterialDao implements Serializable {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "物料的唯一标识")
    @TableField("item_bar_code")
    private String itemBarCode;

    @ApiModelProperty(value = "物料的编号")
    @TableField("material_code")
    private String materialCode;

    @ApiModelProperty(value = "物料的名称")
    @TableField("material_name")
    private String materialName;

    @ApiModelProperty(value = "物料的数量")
    @TableField("inventory_quantity")
    private Double inventoryQuantity;

    @ApiModelProperty(value = "物料的计量单位")
    @TableField("unit")
    private String unit;

    @ApiModelProperty(value = "物料的规格描述")
    @TableField("specs")
    private String specs;

    @ApiModelProperty(value = "物料的批次号")
    @TableField("batch_code")
    private String batchCode;

    @ApiModelProperty(value = "冻结（0冻结/1启用）")
    @TableField("disable")
    private Integer disable;

//    @ApiModelProperty(value = "冻结时间")
//    @TableField("disable_date")
//    private Date disableDate;
//
//    @ApiModelProperty(value = "冻结原因")
//    @TableField("disable_des")
//    private String disableDes;
//
//    @ApiModelProperty(value = "冻结备注")
//    @TableField("disable_notes")
//    private String disableNotes;

    @ApiModelProperty(value = "原物料的生产厂家")
    @TableField("manufacturers")
    private String manufacturers;

    @ApiModelProperty(value = "用于标识载具的唯一编码")
    @TableField("container_code")
    private String containerCode;

    @ApiModelProperty(value = "原料、辅料、半成品")
    @TableField("material_category")
    private String materialCategory;

    @ApiModelProperty(value = "3F 1.在制品 2.实体物料")
    @TableField("material")
    private String material;

    @ApiModelProperty(value = "入厂时间")
    @TableField("entry_time")
    private String entryTime;

    @ApiModelProperty(value = "异常状态标记")
    @TableField("abnormal")
    private String abnormal;

    @ApiModelProperty(value = "'入库时间'")
    @TableField("create_date")
    private String createDate;


    @ApiModelProperty(value = "半成品")
    @TableField("supplier_customer")
    private String supplierCustomer;

    @ApiModelProperty(value = "仓库")
    @TableField("warehouse")
    private String warehouse;

    @ApiModelProperty(value = "发出仓位")
    @TableField("issue_position")
    private String issuePosition;

    @ApiModelProperty(value = "操作人")
    @TableField("operator")
    private String operator;

    @ApiModelProperty(value = "操作时间")
    @TableField("operation_time")
    private String operationTime;

    @ApiModelProperty(value = "Color")
    @TableField("color")
    private String color;

    @ApiModelProperty(value = "MeasurementMethod")
    @TableField("measurement_method")
    private String measurementMethod;

    @ApiModelProperty(value = "MeedleCount")
    @TableField("meedle_count")
    private String meedleCount;

    @ApiModelProperty(value = "Size")
    @TableField("size")
    private String size;

    @ApiModelProperty(value = "SizePage")
    @TableField("size_page")
    private String sizePage;

    @ApiModelProperty(value = "WorkingNo")
    @TableField("working_no")
    private String workingNo;

    @ApiModelProperty(value = "产品类型")
    @TableField("product_type")
    private String productType;

    @ApiModelProperty(value = "包装方式")
    @TableField("packaging_method")
    private String packagingMethod;

    @ApiModelProperty(value = "特殊工艺")
    @TableField("special_process")
    private String specialProcess;

    @ApiModelProperty(value = "程式名")
    @TableField("program_name")
    private String programName;

    @ApiModelProperty(value = "编织机器")
    @TableField("weaving_machine")
    private String weavingMachine;

    @ApiModelProperty(value = "HCBanderole")
    @TableField("hcbanderole")
    private String hcbanderole;

    @ApiModelProperty(value = "composition")
    @TableField("composition")
    private String composition;

    @ApiModelProperty(value = "Qclab")
    @TableField("qclab")
    private String qclab;

    @ApiModelProperty(value = "包装配比")
    @TableField("packaging_ratio")
    private String packagingRatio;
//
//
//    //自检状态(1自检)
//    @TableField("self_check_status")
//    private Integer selfCheckStatus;
//
//    //缸号
//    @TableField("cylinder_number")
//    private String cylinderNumber;
//
//    //采购单
//    @TableField("purchase_order")
//    private String purchaseOrder;
}
